package com.visitor.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Slf4j
@TableName("sys_user")
public class SysUser {

    @TableId(type = IdType.AUTO)
    private Long id;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime create_time;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime update_time;

    private String username;
    private String password;

    private String real_name;
    private String phone;
    private String email;

    private Integer status;
    private Integer type;

    private Long department_id;
    private String department_name;

    private String remark;

    private LocalDateTime last_login_time;
}
